package com.tgm.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ConsumptionExcelVO {
    // @ExcelProperty 注解定义Excel表头
    @ExcelProperty("消费时间")
    private Date consumeTime; // 格式化后的时间

    @ExcelProperty("院系")
    private String department;

    @ExcelProperty("年级")
    private String grade;

    @ExcelProperty("消费类型")
    private String merchantType;

    @ExcelProperty("商家名称")
    private String merchantName;

    @ExcelProperty("消费金额(元)")
    private BigDecimal amount;

    @ExcelProperty("是否异常")
    private String isAbnormal; // 转换为"是/否"显示

    @ExcelProperty("异常原因")
    private String abnormalReason;

    @ExcelProperty("分析结果")
    private String analysisResult;
}